<!--
/**
 * @name 'Home'
 * @desc ''
 * @author ''
 * @time 2021年06月20日 22:32:37 星期天
 */
-->
<template>
  <div>
   <el-button type="info" @click="logout">退出</el-button>
  </div>
</template>

<script>
export default {
  name: 'Home',
  components: {},
  data () {
    return {
    }
  },
  props: {},
  computed: {},
  methods: {
      logout(){
          window.sessionStorage.clear()
          this.$router.push('/login')
      }
  },
  watch: {},
  created () {},
  mounted () {},
  destroyed () {}
}

</script>
<style lang='scss' scoped>
</style>
